package com.yufubao.service.service.management.authorization;

import com.yufubao.framework.result.ResponseResult;
import com.yufubao.model.dto.management.authorization.ManagerLoginDto;
import com.yufubao.model.dto.management.authorization.ManagerRegisterDto;
import com.yufubao.model.vo.management.authorization.AdminManagerInfoVo;
import com.yufubao.model.vo.management.authorization.RoutersVo;

import javax.validation.Valid;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/9/2 20:07
 */
public interface ManagementPowerService {
    /**
     * @description 注册
     * @param dto
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/2 20:14
     */
    ResponseResult enroll(ManagerRegisterDto dto);

    /**
     * @description 登录
     * @param dto
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/2 20:55
     */
    ResponseResult login(@Valid ManagerLoginDto dto);

    /**
     * @description 查询人员权限信息
     *
     * @return com.yufubao.framework.result.ResponseResult<com.yufubao.model.vo.bms.AdminManagerInfoVo>
     * @author zhangyiheng
     * @date 2024/9/4 15:54
     */
    ResponseResult<AdminManagerInfoVo> getInfo();

    /**
     * @description 查询人员菜单路由路径
     *
     * @return com.yufubao.framework.result.ResponseResult<com.yufubao.model.vo.bms.RoutersVo>
     * @author zhangyiheng
     * @date 2024/9/4 16:38
     */
    ResponseResult<RoutersVo> getRouters();


}
